package com.onlinesshop.mall.pojo;

import java.io.Serializable;

/**
 * 产品类别表
 */
public class Category implements Serializable {
    private int id;         //主键 id
    private String name;       //类别名称
    private int status;         //类别状态1-正常 2-废弃

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", status=" + status +
                '}';
    }
}
